package com.aspose.cells;

abstract class zbz {
   protected int b = 5;
   protected byte[] c;
   private short a;
   private short d;

   short d() {
      return this.a;
   }

   void a(short var1) {
      this.a = var1;
   }

   void b(int var1) {
      this.a = (short)var1;
   }

   void c(int var1) {
      this.d = (short)var1;
   }

   byte[] e() {
      return this.c;
   }

   short f() {
      return this.d;
   }

   void a(zqa var1) throws Exception {
      byte[] var2;
      if (this.c != null && this.c.length != 0) {
         var2 = new byte[this.c.length + 4];
         System.arraycopy(com.aspose.cells.b.a.zc.a(this.d), 0, var2, 0, 2);
         System.arraycopy(com.aspose.cells.b.a.zc.a(this.a), 0, var2, 2, 2);
         System.arraycopy(this.c, 0, var2, 4, this.c.length);
      } else {
         var2 = new byte[4];
         System.arraycopy(com.aspose.cells.b.a.zc.a(this.d), 0, var2, 0, 2);
         System.arraycopy(com.aspose.cells.b.a.zc.a(this.a), 0, var2, 2, 2);
      }

      var1.a(var2);
   }

   void b(byte[] var1) {
      this.c = var1;
      if (var1 != null) {
         this.a = (short)var1.length;
      } else {
         this.a = 0;
      }

   }

   void a(zbz var1) {
      this.a(var1.d());
      this.c = new byte[this.d()];
      System.arraycopy(var1.c, 0, this.c, 0, this.d());
   }
}
